package com.powernode;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 *  @EnableDiscoveryClient 开启nacos 服务支持  :  将SpringBoot应用程序注册到注册中心中  , 并且会周期性的向注册真泓鑫发送心跳 , 来保证自己的信息是最新的
 */
@SpringBootApplication
@EnableDiscoveryClient
public class GatewayServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(GatewayServerApplication.class, args);
    }
}
